package com.waimai_lp.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.waimai_lp.common.R;
import com.waimai_lp.entity.Orders;

import java.time.LocalDateTime;


public interface OrderService extends IService<Orders> {

    /**
     * 用户下单
     * @param orders
     */
    public void submit(Orders orders);

    public Page orderList(int page,int pageSize);


}
